package skewreduce.framework.planner.search;

import org.apache.hadoop.conf.Configurable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import skewreduce.framework.planner.PartitionNode;


public abstract class SearchStrategy implements Configurable {
	protected static final Logger LOG = LoggerFactory.getLogger("PLAN-SEARCH");
	
	public void init(PartitionNode root) {}
	public abstract boolean shouldPartition(PartitionNode parent,PartitionNode l,PartitionNode r,boolean force);
	public void reset() {}
	public void setNumMachines(int n) {}
}
